package com.ca.demo.service.sys;

import com.ca.demo.common.base.BaseService;
import com.ca.demo.config.security.SecurityUser;
import com.ca.demo.model.sys.Resource;
import com.ca.demo.model.sys.User;
import com.ca.demo.model.sys.tmp.Menu;

import java.util.List;

/**
 * @Author XieLei
 * @Date 2017/6/22 17:44
 */
public interface ResourceService extends BaseService<Resource, Long> {

    List<Resource> findChildren(Resource resource);

    List<Resource> findAll(Resource resource);

    List<Menu> findMenus(SecurityUser user);
}
